Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix migrate directory path #110

Merged
merged 1 commit into from
Aug 2, 2023
Merged

Fix migrate directory path #110

merged 1 commit into from
Aug 2, 2023

Conversation

bearfriend
Copy link
Contributor

Fix migrate directory path to match plugin/action path.

@bearfriend bearfriend requested a review from a team as a code owner August 2, 2023 12:20
@@ -20,9 +19,6 @@ if (!new RegExp(`${PATHS.VDIFF_ROOT}/(\n|$)`).test(gitignore)) {

await Promise.all(dirs.map(async dir => {
const files = await glob(`${dir}/*/*.png`, { posix: true });
const base = dir.replace(normalize(oldSuffix), '');

await mkdir(join(base, normalize(newSuffix)), { recursive: true });
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Subdirectories are already being recursively created below so this isn't necessary.

@bearfriend bearfriend merged commit bab2c99 into main Aug 2, 2023
1 check passed
@bearfriend bearfriend deleted the dgleckler/migrate-path branch August 2, 2023 12:48
@ghost
Copy link

ghost commented Aug 2, 2023

🎉 This PR is included in version 0.25.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ghost ghost added the released label Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants